﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" AutoEventWireup="true" CodeFile="CandidateInvoiceView.aspx.cs" Inherits="Reports_CandidateInvoiceView" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </ajaxToolkit:ToolkitScriptManager>
    <div class="col-md-12">
        <div class="panel-body" style="width: 100%; padding: 0px;">
            <div class="well well-sm" style="font-size: large">Candidate Invoice Report</div>

            <div class="row">
                <div style="text-align: right !important; border: 1px solid #bababa; padding-left:10%; overflow-y: scroll; overflow-x: scroll;">
                
                <rsweb:ReportViewer ID="rvBar" runat="server" BackColor="#FFFBF7" ZoomMode="FullPage" Width="100%" SizeToReportContent="True" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
                    <LocalReport ReportPath="Report\CandidateInvoice.rdlc">
                        <DataSources>
                            <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="CandidateInvoiceData" />
                        </DataSources>
                    </LocalReport>
                </rsweb:ReportViewer>

                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CandidateInvoiceTableAdapters.Usp_GetCandidateInvoiceByCandidateIdTableAdapter">
                        <SelectParameters>
                            <asp:QueryStringParameter Name="CandidateID" QueryStringField="CandidateId" Type="Int64" />
                        </SelectParameters>
                    </asp:ObjectDataSource>                  
            </div>
            </div>
           


            </div>


        <div class="row">
            <asp:Label runat="server" ID="lblErrorMessage"></asp:Label>
        </div>

        
        </div>
   
    <input id="hdnInput" runat="server" type="hidden" />


</asp:Content>

